<%@ Page Language="vb" AutoEventWireup="false" Inherits="Workflow.EditCategories" CodeFile="EditCategories.aspx.vb" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD runat="server">
		<title>Create New Project</title>
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
		<meta name="vs_defaultProjectScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="../styles/styles.css?date=16may08" type="text/css" rel="stylesheet">
        <link rel="Shortcut Icon" href="../images/favicon.ico" />
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
      <span class="navigation">
        <asp:HyperLink ID="lnkBack" Runat="server" CssClass="navigation" NavigateUrl="ListItems.aspx">&lt;&lt; Back to Jobs List</asp:HyperLink>
				<asp:HyperLink ID="lnkNew" Runat=server CssClass=navigation NavigateUrl="~/pages/EditCategories.aspx">Create New Project</asp:HyperLink>
      </span>
			<br>
			<br>
			<table width="100%">
				<tr>
					<td valign="top" width="50%">
						<asp:DataGrid ID="dgCategories" Runat="server" AutoGenerateColumns="False" CellPadding=2>
							<HeaderStyle CssClass="head" />
							<ItemStyle CssClass="odd" />
							<AlternatingItemStyle CssClass="even" />
							<Columns>
								<asp:TemplateColumn HeaderText="Projects">
									<ItemTemplate>
										<a   href='EditCategories.aspx?categoryId=<%# DataBinder.Eval( Container.DataItem, "CategoryId") %>'>
											<%# DataBinder.Eval( Container.DataItem, "CategoryName") %>
										</a>
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
						</asp:DataGrid>
					</td>
					<td valign="top">
						<table>
							<tr>
								<td colspan="2">
									<h5><asp:Literal ID="litAddEdit" Runat="server">New</asp:Literal>
										Project</h5>
								</td>
							</tr>
							<tr>
								<td>
									<h5>Name</h5>
								</td>
								<td>
									<asp:TextBox ID="txtName" Runat="server" Width="250" />
								</td>
								<td nowrap style="FONT-SIZE:12px; COLOR:red">* Required</FONT>
								</td>
							</tr>
							<tr>
								<td>
									<span onclick="return confirm('Delete Project?\nNote: Any Items will be moved to Project \'*other\'')">
										<asp:Button id="btnDelete" Runat="server" Text="Delete" />
									</span>
								</td>
								<td align="right">
									<asp:Button id="btnSave" Runat="server" Text="Create" />
								</td>
								<td>&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
